<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/8/6 0006
 * Time: 2:29
 */

return [
    /*+++++++++++++++++++++++++++++++++++++++++++++
     + 首页接口
     +++++++++++++++++++++++++++++++++*/
    'get_index_info' => ['namespace' => '\app\api\service\Index', 'there_param' => false, 'method' => 'GET'], // 获取首页信息
    'get_shop_list_by_category_and_lat_lng' => [ 'namespace' => '\app\api\service\Index', 'there_param' => true, 'method' => 'GET'], // 根据分类和定位获取店铺列表
    'get_shop_list_by_lat_lng' => ['namespace' => '\app\api\service\Index', 'there_param' => true, 'method' => 'GET'], // 根据定位获取店铺列表

    /*+++++++++++++++++++++++++++++++++++++++++++++
     + 登录注册接口
     +++++++++++++++++++++++++++++++++*/
    'login' => ['namespace' => '\app\api\service\Login', 'there_param' => true, 'method' => 'POST'], // 登录接口
    'check_phone' => ['namespace' => '\app\api\service\Login', 'there_param' => true, 'method' => 'POST'], // 验证帐号是否存在

    /*+++++++++++++++++++++++++++++++++++++++++++++
     + 公共接口
     +++++++++++++++++++++++++++++++++*/
    'send_code' => ['namespace' => '\app\api\service\NoteCode', 'there_param' => true,'method' => 'POST'], // 发送验证码
    'get_count_num' => ['namespace' => '\app\api\service\Base', 'there_param' => true, 'method' => 'GET'], // 获取统计数量
    'get_system_info' => ['namespace' => '\app\api\service\Base', 'there_param' => false, 'method' => 'GET'], // 获取系统配置信息
    'upload_image' => ['namespace' => '\app\api\service\Upload', 'there_param' => false, 'method' => 'POST'], // 图片上传
    'upload_images' => ['namespace' => '\app\api\service\Upload', 'there_param' => false, 'method' => 'POST'], // 多图片上传
    'layim_upload_img' => ['namespace' => '\app\api\service\Upload', 'there_param' => false, 'method' => 'POST'], // layim图片上传

    /*+++++++++++++++++++++++++++++++++++++++++++++
     + 个人中心接口
     +++++++++++++++++++++++++++++++++*/
    'get_member_info' => ['namespace' => '\app\api\service\Member', 'there_param' => true, 'method' => 'GET'], // 获取个人中心数据
    'get_member_role_info' => ['namespace' => '\app\api\service\Member', 'there_param' => true, 'method' => 'GET'], // 获取用户个人信息
    'save_member_role_info' => ['namespace' => '\app\api\service\Member', 'there_param' => true, 'method' => 'POST'], // 修改保存个人信息
    'save_registration' => ['namespace' => '\app\api\service\Registration', 'there_param' => true, 'method' => 'POST'], // 签到接口
    'check_registration' => ['namespace' => '\app\api\service\Registration', 'there_param' => true, 'method' => 'GET'], // 检查今天是否签到
    'get_certification_info' => ['namespace' => '\app\api\service\Certification', 'there_param' => true, 'method' => 'GET'], // 获取用户实名认证信息
    'save_certification' => ['namespace' => '\app\api\service\Certification', 'there_param' => true, 'method' => 'POST'], // 保存用户实名认证信息

    /*+++++++++++++++++++++++++++++++++++++++++++++
     + 约酒交友接口
     +++++++++++++++++++++++++++++++++*/
    'send_activity' => [ 'namespace' => '\app\api\service\Friend', 'there_param' => true, 'method' => 'POST'], // 发起约酒交友活动
    'get_activity_list' => ['namespace' => '\app\api\service\Activity', 'there_param' => true, 'method' => 'GET'], // 获取活动列表
    'get_activity_info' => ['namespace' => '\app\api\service\Activity', 'there_param' => true, 'method' => 'GET'], // 获取活动详情
    'get_activity_list_bu_where' => ['namespace' => '\app\api\service\Activity', 'there_param' => true, 'method' => 'GET'],// 根据条件获取活动列表
    'participate_activity' => ['namespace' => '\app\api\service\Activity', 'there_param' => true, 'method' => 'POST'], // 申请参加活动
    'quit_activity' => ['namespace' => '\app\api\service\Activity', 'there_param' => true, 'method' => 'POST'], // 退出活动
    'get_activity_member' => ['namespace' => '\app\api\service\Activity', 'there_param' => true, 'method' => 'GET'], // 获取活动用户列表
    'edit_member_status' => ['namespace' => '\app\api\service\Activity', 'there_param' => true, 'method' => 'POST'], // 修改活动申请用户状态
    //    'save_activity_discussion_id' => ['namespace' => '\app\api\service\Activity', 'there_param' => true, 'method' => 'POST'], // 设置活动讨论组ID
    'get_group_chat_info' => ['namespace' => '\app\api\service\Activity', 'there_param' => true, 'method' => 'GET'], // 获取活动群信息
    'get_activity_group_member' => ['namespace' => '\app\api\service\Activity', 'there_param' => true, 'method' => 'GET'], // 获取活动群聊用户信息
    'get_group_chat_data_by_group_id' => [ 'namespace' => '\app\api\service\Activity', 'there_param' => true, 'method' => 'GET'], // 根据群ID获取群聊数据
    'get_sponsor_list' => [ 'namespace' => '\app\api\service\Friend', 'there_param' => true, 'method' => 'GET'], // 获取活动可用赞助
    'apply_for_sponsor' => [ 'namespace' => '\app\api\service\Friend', 'there_param' => true, 'method' => 'POST'], // 申请赞助
    'activity_report' => [ 'namespace' => '\app\api\service\Activity', 'there_param' => true, 'method' => 'POST'], // 举报
    'activity_registration' => [ 'namespace' => '\app\api\service\Activity', 'there_param' => true, 'method' => 'POST'], // 签到

    /*+++++++++++++++++++++++++++++++++++++++++++++
     + 支付接口
     +++++++++++++++++++++++++++++++++*/
    'get_pay_info' => ['namespace' => '\app\api\service\Pay', 'there_param' => true, 'method' => 'GET'], // 获取支付信息
    'check_safe_password' => ['namespace' => '\app\api\service\Pay', 'there_param' => true, 'method' => 'GET'], // 检查安全密码是否正确
    'is_set_safe_password' => ['namespace' => '\app\api\service\Pay', 'there_param' => true, 'method' => 'GET'], // 检查安全密码是否设置
    'instation_pay' => [ 'namespace' => '\app\api\service\Pay', 'there_param' => true, 'method' => 'POST'], // 站内支付
    'wx_app_pay' => [ 'namespace' => '\app\api\service\Pay', 'there_param' => true, 'method' => 'POST'], // 微信支付
    'wx_app_pay_test' => [ 'namespace' => '\app\api\service\Pay', 'there_param' => true, 'method' => 'POST'], // 微信支付test
    'ali_app_pay' => [ 'namespace' => '\app\api\service\Pay', 'there_param' => true, 'method' => 'POST'], // 支付宝支付

    /*+++++++++++++++++++++++++++++++++++++++++++++
     + 直播接口
     +++++++++++++++++++++++++++++++++*/
    'create_zb_order' => ['namespace' => '\app\api\service\Zb', 'there_param' => true, 'method' => 'POST'], // 创建直播订单

    /*+++++++++++++++++++++++++++++++++++++++++++++
     + 店铺接口
     +++++++++++++++++++++++++++++++++*/
    'get_shop_index' => ['namespace' => '\app\api\service\Shop', 'there_param' => true, 'method' => 'GET'], // 获取店铺首页数据
    'get_shop_info' => ['namespace' => '\app\api\service\Shop', 'there_param' => true, 'method' => 'GET'], // 获取店铺信息
    'save_shop' => ['namespace' => '\app\api\service\Shop', 'there_param' => true, 'method' => 'POST'], // 保存店铺信息
    'get_shop_category' => ['namespace' => '\app\api\service\Shop', 'there_param' => true, 'method' => 'GET'], // 获取店铺经营分类
    'edit_shop_category' => ['namespace' => '\app\api\service\Shop', 'there_param' => true, 'method' => 'POST'], // 编辑店铺经营分类
    'add_shop_image' => ['namespace' => '\app\api\service\Shop', 'there_param' => true, 'method' => 'POST'], // 编辑店铺图片
    'delete_shop_image' => ['namespace' => '\app\api\service\Shop', 'there_param' => true, 'method' => 'POST'], // 删除店铺图片
    'get_shop_replenishment_product_list' => ['namespace' => '\app\api\service\Product', 'there_param' => true, 'method' => 'GET'], // 获取店铺补货产品列表
    'get_replenishment_product_info' => ['namespace' => '\app\api\service\Product', 'there_param' => true, 'method' => 'GET'], // 获取需要补货的产品详情
    'shop_product_replenishment_apply_for' => ['namespace' => '\app\api\service\Product', 'there_param' => true, 'method' => 'POST'], // 提交店铺产品补货申请
    'get_replenishment_list' => ['namespace' => '\app\api\service\Shop', 'there_param' => true, 'method' => 'GET'], // 获取补货记录
    'replenishment_confirm_receipt' => ['namespace' => '\app\api\service\Shop', 'there_param' => true, 'method' => 'POST'], // 店铺补货确认收货
    'replenishment_cancel' => ['namespace' => '\app\api\service\Shop', 'there_param' => true, 'method' => 'POST'], // 店铺补货取消申请
    'get_shop_comment_list' => ['namespace' => '\app\api\service\Shop', 'there_param' => true, 'method' => 'GET'], // 获取店铺评论列表
    'get_shop_comment_count' => ['namespace' => '\app\api\service\Shop', 'there_param' => true, 'method' => 'GET'], // 获取店铺评论总数
    'get_shop_product_list' => ['namespace' => '\app\api\service\Product', 'there_param' => true, 'method' => 'GET'], // 获取店铺产品列表
    'get_shop_product_info' => ['namespace' => '\app\api\service\Product', 'there_param' => true, 'method' => 'GET'], // 获取店铺产品详情
    'get_shop_image' => ['namespace' => '\app\api\service\Shop', 'there_param' => true, 'method' => 'GET'], // 获取店铺图片
    'save_main_image' => ['namespace' => '\app\api\service\Shop', 'there_param' => true, 'method' => 'GET'], // 设置店铺主图
    'save_shop_info' => ['namespace' => '\app\api\service\Shop', 'there_param' => true, 'method' => 'POST'],  // 修改店铺信息

    /*+++++++++++++++++++++++++++++++++++++++++++++
     + 抢单接口
     +++++++++++++++++++++++++++++++++*/
    'get_vie_for_order_list' => ['namespace' => '\app\api\service\Shop', 'there_param' => true, 'method' => 'GET'], // 获取待抢订单列表
    'get_vie_for_order_info' => ['namespace' => '\app\api\service\Shop', 'there_param' => true, 'method' => 'GET'], // 获取待抢订单详情
    'vie_for_order' => ['namespace' => '\app\api\service\Shop', 'there_param' => true, 'method' => 'POST'], // 抢单
    'get_shop_order_list' => [ 'namespace' => '\app\api\service\Shop',  'there_param' => true, 'method' => 'GET'], // 获取店铺订单列表
    'get_shop_order_info' => ['namespace' => '\app\api\service\Shop', 'there_param' => true, 'method' => 'GET'], // 获取店铺订单详情
    'save_shop_order_product' => ['namespace' => '\app\api\service\Shop', 'there_param' => true, 'method' => 'POST'], // 保存添加到订单的产品
    'edit_order_product_num' => ['namespace' => '\app\api\service\Shop', 'there_param' => true, 'method' => 'POST'], // 调整订单产品数量
    'delete_order_product' => ['namespace' => '\app\api\service\Shop', 'there_param' => true, 'method' => 'POST'], // 调整订单产品数量
    'push_order' => ['namespace' => '\app\api\service\Shop', 'there_param' => true, 'method' => 'POST'], // 推送订单

    /*+++++++++++++++++++++++++++++++++++++++++++++
     + 订单接口
     +++++++++++++++++++++++++++++++++*/
    'create_demand_order' => ['namespace' => '\app\api\service\Order', 'there_param' => true, 'method' => 'POST'], // 创建需求订单
    'affirm_order' => ['namespace' => '\app\api\service\Order', 'there_param' => true, 'method' => 'POST'], // 确认订单
    'create_order' => ['namespace' => '\app\api\service\Order', 'there_param' => true, 'method' => 'POST'], // 创建订单
    'cancel_order' => ['namespace' => '\app\api\service\Order', 'there_param' => true, 'method' => 'POST'], // 取消订单
    'back_merchant' => ['namespace' => '\app\api\service\Order', 'there_param' => true, 'method' => 'POST'], // 退回商家重新定价
    'confirm_receipt' => ['namespace' => '\app\api\service\Order', 'there_param' => true, 'method' => 'POST'], // 确认收货
    'get_member_order_list' => ['namespace' => '\app\api\service\Order', 'there_param' => true, 'method' => 'GET'], // 获取用户订单列表
    'get_order_info' => ['namespace' => '\app\api\service\Order', 'there_param' => true, 'method' => 'GET'], // 获取用户订单详情

    /*+++++++++++++++++++++++++++++++++++++++++++++
     + 购物车接口
     +++++++++++++++++++++++++++++++++*/
    'add_cart' => ['namespace' => '\app\api\service\Cart', 'there_param' => true, 'method' => 'POST'], // 添加商品到购物车
    'get_cart_list' => ['namespace' => '\app\api\service\Cart', 'there_param' => true, 'method' => 'GET'], // 获取购物车列表
    'edit_cart_product_num' => ['namespace' => '\app\api\service\Cart', 'there_param' => true, 'method' => 'POST'], // 修改购物车商品数量
    'del_cart' => ['namespace' => '\app\api\service\Cart', 'there_param' => true, 'method' => 'POST'], // 删除购物车

    /*+++++++++++++++++++++++++++++++++++++++++++++
     + 融云接口
     +++++++++++++++++++++++++++++++++*/
    'get_member_rong_info' => ['namespace' => '\app\api\service\Rong', 'there_param' => true, 'method' => 'GET'], // 获取账户融云信息
    'save_rong_msg' => ['namespace' => '\app\api\service\Rong', 'there_param' => true, 'method' => 'POST'], // 保存融云聊天记录
    'get_rong_msg_list' => ['namespace' => '\app\api\service\Rong', 'there_param' => true, 'method' => 'GET'], // 获取融云聊天数据列表
    'get_member_rong_info_by_userId' => ['namespace' => '\app\api\service\Rong', 'there_param' => true, 'method' => 'GET'], // 根据userId获取账户信息
    'get_member_rong_dialogue' => ['namespace' => '\app\api\service\Rong', 'there_param' => true, 'method' => 'GET'], // 获取融云对话数据
    'get_member_rong_friend' => ['namespace' => '\app\api\service\Rong', 'there_param' => true, 'method' => 'GET'], // 获取融云对话数据
    'get_group_members' => ['namespace' => '\app\api\service\Rong', 'there_param' => true, 'method' => 'GET'], // 获取融云群组成员列表
    'get_msg_list' => ['namespace' => '\app\api\service\Rong', 'there_param' => true, 'method' => 'GET'], // 获取聊天数据列表

    /*+++++++++++++++++++++++++++++++++++++++++++++
     + 收货地址接口
     +++++++++++++++++++++++++++++++++*/
    'get_address_list' => ['namespace' => '\app\api\service\Address', 'there_param' => true, 'method' => 'GET'], // 获取收货地址列表
    'save_address' => ['namespace' => '\app\api\service\Address', 'there_param' => true, 'method' => 'POST'], // 保存收货地址
    'get_address_info' => ['namespace' => '\app\api\service\Address', 'there_param' => true, 'method' => 'GET'], // 获取收货地址详情
    'get_default_address_info' => ['namespace' => '\app\api\service\Address', 'there_param' => true, 'method' => 'GET'], // 获取默认收货地址详情
    'delete_address' => ['namespace' => '\app\api\service\Address', 'there_param' => true, 'method' => 'POST'], // 删除收货地址
    'save_default_address' => ['namespace' => '\app\api\service\Address', 'there_param' => true, 'method' => 'POST'], // 删除收货地址

    /*+++++++++++++++++++++++++++++++++++++++++++++
     + 钱包接口
     +++++++++++++++++++++++++++++++++*/
    'save_safe_password' => ['namespace' => '\app\api\service\Set', 'there_param' => true, 'method' => 'POST'], // 设置支付密码
    'get_member_bill' => ['namespace' => '\app\api\service\Wallet', 'there_param' => true, 'method' => 'GET'], // 获取交易明细
    'get_member_bill_info' => ['namespace' => '\app\api\service\Wallet', 'there_param' => true, 'method' => 'GET'], // 获取交易明细详情
    'save_bank' => ['namespace' => '\app\api\service\Wallet', 'there_param' => true, 'method' => 'POST'],  // 保存银行卡
    'withdraw_apply_for' => ['namespace' => '\app\api\service\Wallet', 'there_param' => true, 'method' => 'POST'],  // 用户提现申请

    /*+++++++++++++++++++++++++++++++++++++++++++++
     + 七牛接口
     +++++++++++++++++++++++++++++++++*/
    'get_up_token' => ['namespace' => '\app\api\service\Qiniu', 'there_param' => false, 'method' => 'GET'], // 获取七牛云上传token

    /*+++++++++++++++++++++++++++++++++++++++++++++
    + 评论接口
    +++++++++++++++++++++++++++++++++*/
    'save_comment' => ['namespace' => '\app\api\service\Comment', 'there_param' => false, 'method' => 'POST'], // 发表评论内容
    'get_comment_by_shop_and_product' => ['namespace' => '\app\api\service\Comment', 'there_param' => false, 'method' => 'GET'], // 根据店铺获取产品评论列表

    /*+++++++++++++++++++++++++++++++++++++++++++++
    + 信鸽接口
    +++++++++++++++++++++++++++++++++*/
    'save_xinge_token' => ['namespace' => '\app\api\service\Xinge', 'there_param' => true, 'method' => 'POST'], // 保存用户信鸽信息
];